<h1>Listing Load Boxes</h1>

<table>
  <tr>
    <th>Name |</th>
    <th>Box Manager |</th>
    <th>Version |</th>
    <th>Interface</th>
    <th></th>
    <th></th>
  </tr>

<% @loadboxes.each do |loadbox| %>
  <tr>
    <td><%= loadbox.name %></td>
    <td><%= loadbox.boxmanager_id %></td>
    <td><%= loadbox.version_id %></td>
    <td><%= loadbox.interface_id %></td>
    <td><%= link_to 'Show', loadbox %></td>
    <td><%= link_to 'Edit', edit_loadbox_path(loadbox) %></td>
    <td><%= link_to 'Destroy', loadbox, confirm: 'Are you sure?', method: :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Loadbox', new_loadbox_path %>

</body>
</html>